#!/bin/bash
url=/
date >stress.log
for ((i=1; $i < 6 ; i=$i+1))
do
	usleep 1000
	echo $i `date`
	(
		echo $i `./stress \
			--port 80 \
			--addr 192.168.0.10 \
			--laddr 127.0.0.$i \
			--host test.karnage.ru \
			--timing \
			--count 50000 \
			--url $url 2>/dev/null` >>stress.log
	) &
done


